<?php
/**
 * Created by PhpStorm
 * User: shen.zk
 * Date: 2023/10/26
 * Time: 17:36
 * Comment: ''
 */

namespace App\Params\Common;

use App\Params\BaseParam;

class MerchantsCastingLogParam extends BaseParam
{
    public $mid; // 接入商户号

    public $page = 1;
    public $page_size = 10;

    public function getPageSize(): int
    {
        return $this->page_size ? $this->page_size : 10;
    }

    public function getPage(): int
    {
        return $this->page ? --$this->page : 1;
    }
}
